package com.ant.scheduled;

import com.ant.scheduled.impl.ScheduledJob;

public interface ScheduledTaskService {

    Boolean start(ScheduledJob scheduledJob);

    Boolean stop(String jobKey);

    Boolean start(ScheduledJob scheduledJob, ScheduledOfTask task);

    Boolean restart(ScheduledJob scheduledJob);
    public Boolean isStart(String taskKey);
    void initTask();
}